package cn.zzuli.ex1;

import androidx.appcompat.app.AppCompatActivity;

import android.net.UrlQuerySanitizer;
import android.os.Bundle;
import android.widget.Button;

import java.net.HttpURLConnection;
import java.net.URL;

public class WLFw extends AppCompatActivity {
    String path="https://www.wanandroid.com/user/login";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_w_l_fw);
        Button but=findViewById(R.id.button2);
        //1.url;
        //2.httpurlConnection;

        //3.设置参数；
        //4.流将参数写道服务器；
        //5.获得响应得得输入流；
        //6.获得字符串；
        //7.解析；

    }
    private void  login(String name,String pwd){
      //  Url url = new Url(path);
    }
}